#!/bin/sh

DRV_PATH=$1
DRV_NAME=$2
DRV_VER=$3

DRV_CONFIG_PREFIX=config

if [ -f ${DRV_PATH}/${DRV_CONFIG_PREFIX}.${DRV_NAME}-${DRV_VER} ]; then
    echo "${DRV_CONFIG_PREFIX}.${DRV_NAME}-${DRV_VER}
elif [ -f ${DRV_PATH}/${DRV_CONFIG_PREFIX}.${DRV_NAME} ]; then
    echo "${DRV_CONFIG_PREFIX}.${DRV_NAME}"
else
    echo ""
fi


